import {createRouter, createWebHistory} from 'vue-router'
import HomeView from '@/views/home-view.vue'

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            name: 'home',
            component: HomeView,
        },
        {
            path: '/data',
            name: 'data',
            component: () => import('@/views/data-view.vue'),
        },
    ],
})

export default router
